/*
 *  QMButton.h
 *  QuickMatch
 *
 *  Created by Leroy Ketelaars on 8/13/09.
 *  Copyright 2009 Universum7. All rights reserved.
 *
 */

#ifndef __QM_BUTTON_H__
#define __QM_BUTTON_H__

#include "SDL.h"
#define IMAGE_IDLE 	0
#define IMAGE_HOVER 1
#define IMAGE_PRESS 2

class QMButton
{
public:
	SDL_Rect		bounds;
	SDL_Surface*	image[3];
	
	QMButton()
	{
		for(int i = 0; i < 3; i++)
		{
			image[i] = NULL;
		}
	}
	~QMButton()
	{
		for(int i = 0; i < 3; i++)
		{
			if(image[i])
				SDL_FreeSurface(image[i]);
		}
	}
	
};


#endif
